package com.woniuxy.lab.woniu_lab.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author Silas
 * @since 2023-03-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("lab_base")
public class Base implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 基础镜像名
     */
    private String name;

    /**
     * 基础镜像自id
     */
    private String baseId;

    /**
     * 基础镜像id(0是父镜像，父镜像不能被选取)
     */
    private String parentId;


}
